body {
    background: url("../image/pic.jpg") no-repeat;
    background-size: cover;
  }
  
  .register {
    width: 60%;
    margin: 0 auto;
    background-color: rgb(255, 255, 0, 0.95);
    padding: 10px;
    border-radius: 5px;
  
  }
  
  div {
    margin: 10px;
    height: 30px;
  }
  div>span{
    font-size: 14px;
  }
  
  label {
    width: 80px;
    display: inline-block;
    /* 汉字的分散对齐 */
    text-align-last: justify;
    margin-right: 10px;
  }
  
  .userName,
  .password,
  .birthday,
  .phone,
  .email,
  .identityNo,
  .realName {
    height: 24px;
    width: 280px;
    padding-left: 10px;
  }
  
  .random,
  .reRandom {
    height: 24px;
    width: 100px;
    padding-left: 10px;
    text-align: center;
  }
  
  
  #resume {
    width: 288px;
  }
  
  .resume {
    height: 150px;
    margin-bottom: 20px;
  }
  
  select {
    height: 28px;
  }
  
  [type="submit"],
  [type="reset"] {
    border: none;
    width: 100px;
    text-align: center;
    background-color: green;
    color: white;
    line-height: 30px;
    height: 30px;
    border-radius: 5px;
  }
  
  .register span {
    color: red;
  }
  
  h1 {
    margin: 0 auto;
    padding: 0;
    color: white;
    width: 60%;
  }
  
  #random {
    display: inline-block;
    height: 30px;
    width: 150px;
    vertical-align: middle;
    padding: 0;
  }
  
  .code-div {
    height: 50px;
  }